4.2005
EA KIT160-7
CONTROL PANEL WITH FONTS,
GRAPHICS COMMANDS AND MACROS
"
5 , 1 anel
h P ed
c
Tou c l u d
in
TECHNICAL DATA
*
*
*
*
*
*
*
*
*
*
*
*
*
*
EA KIT160-7LWTP
Dimensions 140x102mm
160x128 PIXELSWITH CFL ILLUMINATION, BLUE NEGATIVE
ALSO WITH LOG-LIFE LED BACKLIGHT WHITE-BLUE
INTEGRATEDTOUCH PANELWITH8x7 FIELDS (ANTI-GLARE, SCRATCH-RESISTANT)
FONT ZOOM OFapprox. 3mm VIAapprox. 5mm UP TOapprox. 50mm
SUPPLY VOLTAGE 5V/500mA (-C)/300mA (-LW) OR OPTIONALLY 9..35V
RS-232 OR ALTERNATIVELY RS-422WITH BAUD RATES 1200..115200
POSITIONING
ACCURATETOTHE PIXEL
WITH ALL FUNCTIONS
PROGRAMMING BY MEANS OF HIGH-LEVEL LANGUAGE-TYPE COMMANDS:
STRAIGHT LINE, POINT, AREA, AND/OR/EXOR, BAR GRAPH...
UP TO 256 MACROS PROGRAMMABLE
COMBINATION OFTEXT AND GRAPHICS
4 CLIPBOARD FUNCTIONS, PULL-DOWN MENUS
8 DIGITAL INPUT AND 8 DIGITAL OUTPUT
BACKLIGHT CAN BE SWITCHED ON/OFF BY SOFTWARE CONTROL
EA OPT-9/35V
EA OPT-RS4224
EA OPT-OPTO16
EA 0FP160-7SW
EA 0FP160-7BL
EA KV24-9B
EA DISK240
ACCESSORIES
SUPPLY VOLTAGE 9..35V INSTEAD OF 5V
RS-422 INTERFACE INSTEAD OF RS-232
OPTOCOUPLER FOR 8 INPUTS AND 8 OUTPUTS
ALUMINUM BEZEL: BLACK ANODIZED
ALUMINUM BEZEL: BLUE ANODIZED
CABLE (1.5m) FOR CONNECTION TO 9-PIN SUB-D (RS-232 FEMALE)
FLOPPY DISK FOR MACRO PROGRAMMING (PC DOS/WIN)
ORDERING INFORMATION
160x128 DOTSWITH CFL ILLUMINATION, BLUE NEGATIVE,TOUCH PANEL
EA KIT160-7CTP
DITO WITHOUT TOUCH PANEL
EA KIT160-7C
160x128 DOTSWITH
WHITE LED-B/L.,
BLUE NEGATIVE,TOUCH PANEL
EA KIT160-7LWTP
DITO WITHOUT TOUCH PANEL
EA KIT160-7LW
ZEPPELINSTRASSE
19 · D- 82 205 GILCHING
PHONE +49-8105-778090· FAX +49-8105-778099· http://www.lcd-module.de
EA KIT160-7
GENERAL
The EA KIT160-7 graphics kit is a fully assembled control and operating unit with a variety of integrated
functions. The display has very compact dimensions and offers excellent super-twist contrast, which
means the unit can be put into operation immediately. It is controlled via the standard RS-232 or RS-422
interface. In addition to complete graphics routines for display output, the graphics kit also contains a
wide variety of fonts. Graphics command similar to those used in high-level programming languages are
used for programming. There is thus no longer any need for the time-consuming programming of
character sets and graphics routines. The ease of use offered by macros and input via touch panel make
it a real power display.
DISPLAY OPTIONS
CFL-Backlight
EA KIT160-7CTP: blue background with white characters. Extreme bright and
contrastful. Life time of backlight 10,000~20,000 hours. Backlight unit is available as a
spare part: EA CFL160-7. Power consumption: typ. 300mA@5V
EA KIT160-7LWTP: blue background with white characters. Great contrast, power
consumption: typ. 250mA@5V
LED-Backlight
HARDWARE
The graphics kit is designed for an operating voltage of +5V. A supply voltage of 9..35V is also possible.
Serial asynchronous data transfer is carried out in RS-232 or RS-422 format. The transmission format
is set permanently to 8 data bits, 1 stop bits, and no parity. A transimssion rate of between 1200 and
115,200 baud can be selected by means of DIP switches. RTS and CTS handshake lines are available.
Data format:
TOUCH PANEL
The EA KIT160-7CTP and -7LWTP versions are equipped with an integrated touch panel. You can make
entries and choose menu settings by touching the display. The labeling of the "keys" is flexible and can
also be changed during runtime (different languages, icons). The drawing of the individual "keys" and
the labeling or grouping of several fields is handled by the integrated software.
SOFTWARE
The graphic kits are programmed by means of commands such as
Draw a rectangle from (0,0) to
(64,15).
No additional software or drivers are required. Strings can be placed with
pixel accuracy.
Text
and graphics can be combined at any time. Up to 16 different character sets can be used. Thus, when
the 8-times zoom is used with the largest character set (16x8), the words and numbers fill the screen
(128x64).
ACCESSORIES
Front panel for mounting
A front panel made of anodized aluminum is available as an accessory. This allows the graphics kit to
be mounted without any screws visible. Installing it is child's play. The EA 0FP160-7 front panel is
available in black (SW) and blue (BL).
Floppy disk for creating macros
A floppy disk (EA DISK240) is required for macro programming
*)
. This converts the commands entered
in a text file into a code that can be read by the graphics kit, and programs them into the EEPROM.
Cable for PC
To enable simple connection to PCs (macro programming), we provide a 1.5m cable and a 9-pin SUB-D
female connector (EA KV24-9B). Simply insert it into COM 1 or COM 2 and get started. Note: The cable
is not suitable for the RS-422 version (EA OPT-RS4224).
*)
Also on the Internet: http://www.lcd-module.de/deu/disk/disk240.zip
2
EA KIT160-7
EXTERNAL KEYBOARD
A keyboard (anything from individual keys to a 8x7 matrix
keyboard, J8) can be connected at the plug-in connection.
The connected keys are debounced by means of software.
Please note that it is only possible to connect an external
keyboard to versions without an integrated touch panel.
Each key is switched between an output and an input. Each
input has a 100kΩ pullup. Up to 6 keys can be connected at
each output.
To find out double-key-strokes all outputs must be
decoupled by a Schottky-Diode (e.g. BAT 43).
Pin
1
3
5
7
9
11
13
15
Symbol
-
OUT 7
OUT 6
OUT 5
OUT 4
OUT 3
OUT 2
OUT 1
Matrix - Keypad Connector J8
Function
nc
output line 7
output line 6
output line 5
output line 4
output line 3
output line 2
output line 1
Pin Symbol
2
IN 8
4
IN 7
6
IN 6
8
IN 5
10
IN 4
12
IN 3
14
IN 2
16
IN 1
Function
input column 8
input column 7
input column 6
input column 5
input column 4
input column 3
input column 2
input column 1
Transmitting the keystrokes
At each keystroke, the associated key number (1..56) is
transmitted or an internal Touch Makro (only if defined) will
be started. The release of the key is not transmitted. If the
release of the key is to be transmitted as well, this can be
Application example 4x4 matrix
done by defining touch macro no. 0. The automatic
keyboard scan can be deactivated by means of the command "ESC T A 0". If the handshake line (e.g.
CTS) does not permit transmission, keystrokes can be lost.
The key number can be determined as follows:
Key number = (output -1) * 8 +input
(output: a number between 1 and 7; input: a number between 1 and 8).
TOUCH PANEL
(EA KIT160-7XXTP ONLY)
Versions EA KIT160-7CTP and -7LWTP are supplied with an integrated touch panel with 56 fields. The
graphics kit offers convenient commands supporting this touch panel. It is possible, for example, to group
a number of touch fields to form a single large key and then draw and label the key. You can also assign
a record code (1..255) to the key you have defined. If a return code of 0 is assigned, the key is disabled
and has no effect when it is pressed.
When the touch keys are touched, they can be automatically inverted and a
tone can sound, indicating they have been touched. At the same time, the
defined return code of the key is transmitted via the serial interface, or an
internal touch macro with the number of the return code is started.
Example:
Definition of a key from field 11 to 21 with the return code 65=´A´ and the text
"STOP". Note: Before individual keys are defined, all fields should be
disabled by means of "ESC T R".
Example
For compiler
As ASCII
In hex
In decimal
Codes to be output
#TH 11, 21, ´A´, 2, "STOP"
ESC
Note
The end code 0 is not specified
here
T
H
.
.
A
.
S
T
O
P
.
The dots ´.´ stand for ASCII
characters that are not to be
displayed
$1B $54 $48 $0B $15 $41 $02 $53 $54 $4F $50 $00
27
Befehlskennung
84
72
11
21
65
2
83
84
79
80
0
Text Ende
Kennung
Einleitung
Touch-Befehl
horizontale
Beschriftung
linke oberes
Touchfeld
rechtes untere
Touchfeld
Return
Code
Taste zeichnen
mit Rahmen
3
EA KIT160-7
BAUD RATES
The baud rate can be set by means of the 3 DIP switches on the left. 9,600 baud
is set at the factory (DIP 3 ON). Please note that the internal data buffer only holds
24 bytes. It is therefore imperative that the RTS handshake line be queried (a level
of +10V means data can be accepted; a level of -10V means the display is busy).
The data format is fixed at 8 data bits, 1 stop bit and no parity.
1
ON
Baud rates
DIP switches
2
ON
ON
OFF
ON
OFF
3
ON
ON
ON
ON
Data format
8,N,1
1200
2400
4800
9600
19200
38400
57600
115200
WRITE PROTECTION FOR PROGRAMMED MACROS
You can use DIP switch 6 to prevent the programmed macros,
images and fonts from being inadvertently overwritten.
Write protection
DIP
6
ON
Write protection
for
EEPROM
On
No macro progr. possible
OFF OFF
ON ON
OFF
ON
OFF
ON
OFF
OFF OFF
OFF OFF OFF
Off
RS-232/RS-422 CONNECTION
OFF
Macro progr. possible
The graphics kit is shipped with an RS-232 interface as standard. The pin assignment of the plug
connector (J3) is as shown in the table on the left. The J3 has a 2.54mm grid. If the graphics kit is ordered
together with the EA OPT-RS4224 optional component, RS-422 drivers are fitted. In this case, the pin
assignment is as shown in the table on the right.
The same serial data with 5V levels and TTL logic is available at the J5 eyelet strip. These levels are
suitable for direct connection to a µC. However, if these signals are used, solder link LB5 and LB6 must
be cut or opened.
RS-232 J3 connection
Pin Symbo In/Out
Function
1
VDD
-
+ 5V supply
2
DCD
-
Strap to DTR
3
DSR
-
Strap to DTR
4
TxD
Out Transmit data
5
CTS
In
Clear to send
6
RxD
In
Receive data
7
RTS
Out Request to send
8
DTR
-
See pin 2, pin 3
9
-
-
NC
10 GND
-
0V ground
RS-422 J3 connection
Pin Symbol
Function
1
VDD
+ 5V supply
2
Data In- Receive data
3
Data In+ Receive data
4 Data Out- Transmit data
5 Data Out+ Transmit data
6
HS In-
Handshake
7
HS In+ Handshake
8
HS Out- Handshake
9
HS Out+ Handshake
10
GND
0V ground
SUPPLY VOLTAGE / EA OPT-9/35V
In the standard model, the supply voltage of +5V
is fed in via screw-type terminal J1. In the case of
the version for 9..35V (EA OPT-9/35V), the
power is supplied via J2.
Important: It is imperative that the polarity is
correct. Polarity reversal, even for a very short
time, can cause the immediate destruction of
the entire display.
J5 ad-on
Pin Symbol In/Out
Function
1
VU
-
9..35V Supply
2
VDD
-
+ 5V Supply
3
GND
-
0V, Ground
4
TxD5
Out Transmit Data
5
RxD5
In
Receive Data
6
RTS5
Out Request To Send
7
CTS5
In
Clear To Send
8 RESET
In
H: Reset
4
EA KIT160-7
DIGITAL INPUTS AND OUTPUTS
J120 Inputs and Outputs
Pin Symbol Function
2
GND
0V, Ground
4
IN 1
Input 1
6
IN 2
Input 2
8
IN 3
Input 3
10
IN 4
Input 4
12
IN 5
Input 5
14
IN 6
Input 6
16
IN 7
Input 7
18
IN 8
Input 8
20
VDD
+5V Supply
All EA KIT160-7 series provide 8 digital In- and 8 outputs (5V
Pin Symbol Function
1
VDD
+5V Supply
CMOS level, grounded).
3
OUT 1
Output 1
5
OUT 2
Output 2
8 outputs
7
OUT 3
Output 3
Each line can be controlled individually using the "ESC Y W"
9
OUT 4
Output 4
command. A maximum current of 10mA can be switched per
11 OUT 5 Output 5
line. For more power use an external transistor or MOSFET.
13 OUT 6 Output 6
15 OUT 7
Output 7
8 inputs
17 OUT 8
Output 8
A voltage of >4V starts an internal port macro. However, the
19 GND 0V, Ground
inputs can also be queried and evaluated directly via the
serial interface ("ESC Y R"). When the 8 lines are
combined, up to 256 port macros can thus be addressed.
Each of these port macros can change the contents of the
screen or switch an output, thus enabling a wide range of
control functions. To create the port macros you need a PC
and the EA DISK240 floppy disk. You will find a more
detailed description on page 6. The automatic port query can be disabled by
means of the "ESC Y A 0" command.
Note: The logic circuitry is designed for slow operations; in other words, more than
3 changes per second cannot be easily executed. If an input is left open, it is logical
high (internaly pulled-up via 100 kOhm).
IN- AND OUTPUTSVIA OPTOCOUPLER (EA OPT-OPTO16)
Optionally all In- and Outputs are isolated via
optocouppler circuit (EA OPT-OPTO16 only). The
connection is made via 16 different screw-type terminals.
Direct voltages of 5..35V can be applied at all 8 inputs.
Voltages of over 4V are recognized as high level, while
voltages of under 2V are low level. Voltages of between
2 and 4V are undefined. The polarity is insignificant.
Output is a "open-collector" circuit with collector (+) and
emitter (-) of a NPN transistor. A maximum current of
10mA can be switched per line.
Note: The negative pole of each screw-type terminal can be interconnected by closing the solder straps
LBI1..8 and LBO1..8. These solder straps can also be connected to system ground GND (solder 0Ω strap
R
GND
).
Note: Logic will be inverted by optocouppler circuit (all inputs left
Default settings
open: port-macro #255). The command "ESC Y I 1" inverts
After
Command
Register
logic back again (all inputs left open: port-macro #0)
power-on/reset
Text mode
ESC L
ESC FT
ESC QC
ESC QZ
ESC E
ESC V
ESC F
ESC W
ESC B
ESC C
ESC K
ESC Y
Set, black
Font 3, no zoom
On
0.6 secs
Undefined
Set
Font 3, no zoom
(0;0)
Undefined
Empty
Selected
Low level/open
DEFAULT SETTINGS
After power-on or a manual reset, the registers shown here are
set to a specific value.
Please note that all the settings can be overwritten by creating
a power-on macro (normal macro no. 0).
Terminal font
Cursor
Flashing time
User-defined characters
Graphics mode
Graphics font
Last xy
Bar graph 1..16
Clipboard
Select/deselect
Outputs OUT1..8
5